#ifndef DISCONNECT_H_
#define DISCONNECT_H_

#include "Command.h"
#include "Protocol.h"
#include "Reset.h"

class CommandDisconnect : public Command
{
public:
	CommandDisconnect() : Command()
	{
		MyCommandType = Disconnect;
		ArgumentsLength = 0;
	}

	FailCode DoCommand()
	{
		SendResponse(Success, MyCommandType);
		ResetArduino();
		return UnknownFail;
	}
};

#endif
